﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using V5_Apps.Core;
using WeifenLuo.WinFormsUI.Docking;

namespace V5_Apps.Plugins.加密解密 {
    public partial class frmMain : DockContent, IApp {
        public frmMain() {
            InitializeComponent();
        }

        public ToolStripMenuItem[] GetMenuItem() {
            List<ToolStripMenuItem> list = new List<ToolStripMenuItem>();
            ToolStripMenuItem ts1 = new ToolStripMenuItem() { Text = "工具1" };
            ts1.Click += delegate(object sender, EventArgs e) {
                MessageBox.Show("工具1");
            };
            list.Add(ts1);

            ToolStripMenuItem t2 = new ToolStripMenuItem() { Text = "工具2" };
            t2.Click += delegate(object sender, EventArgs e) {
                MessageBox.Show("工具2");
            };
            list.Add(t2);

            return list.ToArray();
        }


        public ToolStripItem[] GetToolBarItem() {
            throw new NotImplementedException();
        }

        public ToolStripItem[] GetStatusItem() {
            throw new NotImplementedException();
        }
    }
}
